﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using ASPNETMVCApplication.ActionServiceReference;

namespace ASPNETMVCApplication.Repositories
{
    public interface ITrafficRepository
    {
        List<Traffic> Search(int trafficID);
        Traffic Get(int trafficID, int supplierID);
        List<Traffic> GetList(Criterion criteria = null);
        int GetCount(Criterion criterion = null);
        void Insert(Traffic traffic);
        void Update(Traffic traffic);
        void Delete(int trafficID);
    }
}